#!/usr/bin/env node
const input = JSON.parse(require('fs').readFileSync(0, 'utf-8'));
const toolName = input.preToolUse?.toolName || 'unknown';
console.log(JSON.stringify({
  cancel: false,
  contextModification: `WORKSPACE_RULES: Tool ${toolName} requires review`,
  errorMessage: ""
}));
